// console.log(parseInt('1010', 2)) // 10
// console.log(10..toString(2)) // 1010


let r = Buffer.from('珠')

console.log(r) //  <Buffer e7 8f a0>
console.log((0xe7).toString(2)) //11100111
console.log((0x8f).toString(2)) //10001111
console.log((0xa0).toString(2)) // 10100000

/**
 * 11100111   10001111 10100000
 * 00111001 00111000 00111110 00100000
*/
console.log(parseInt('00111001', 2))
console.log(parseInt('00111000', 2))
console.log(parseInt('0111110', 2))
console.log(parseInt('00100000', 2))
// 57 56 62 32   永远不会大于64（00111111 2 ** 6 - 1）

let str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
str += str.toLowerCase()
str += '0123456789+/'

console.log(str[57] + str[56] + str[62] + str[32])